package com.newsystem.mapper;

import com.newsystem.pojo.Tfile;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 文件：那个新闻的图片和视频链接 Mapper 接口
 * </p>
 *
 * @author chenlitao
 * @since 2022-11-06
 */
@Mapper
public interface TfileMapper extends BaseMapper<Tfile> {

    Tfile selectByNewsId(String newsId);

    int deleteFile(List<String> fileId);
}
